home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!usenet
- From: GHouck <hksys@teleport.com>
- Newsgroups: comp.lang.c
- Subject: Re: Leap Years
- Date: 21 Feb 1996 00:31:10 GMT
- Organization: systems hk
- Message-ID: <4gdp4e$9go@maureen.teleport.com>
- References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net> <4g28ut$p87@taurus.fccc.edu> <fcusack-1602961256070001@mudskipper.cac.psu.edu>
- NNTP-Posting-Host: ip-pdx06-41.teleport.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
-
- fcusack@tdx.org (frank.) wrote:
- >
- >His definition is (slightly) wrong. A year is a leap year if it is
- >divisible by 4, unless it is the end of the century (1800, 1900, 2000,
- >...). In that case, it must be divisible by 400 in order to be a leap
- >year. No, 1900 was not a leap year. Three out of four centuries are
- >excluded so that the calendar remains in sync with our orbit around the
- >sun (so seasons are "predictable"). It's not perfect however. Every so
- >often, we have to add a leap second, which occurs on 1/1 at midnight. Does
- >anyone know what the rule is for leap seconds?
- >~Frank
- > -- I am Pentium of Borg. Division is futile. You will be approximated. --
- > -- If you build it, they will come --> http://www.tdx.org/~fcusack/ --
- > -- PGP key fingerprint: 01 C0 C0 B9 CC 78 67 0F 3F 64 80 65 8B 0F F9 EA --
-
- I didn't quite see the rule I've known to exist for Leap Years:
-
- Lyear = year/4 (yes) except year/100 (no) except year/1000 (yes)
-
- Yours, Geoff Houck
-
-